package com.example.teesystem.entity.vo.IssueFeedback;

import com.example.teesystem.common.valid.ValidErrorMessage;
import com.example.teesystem.common.valid.ValidId;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author pxr
 * @data 2022/3/31 19:06
 */

@Data
public class IssueFeedbackInsertVo {
    @NotNull(message = "值不能为空")
    private Integer issueId;
    @NotNull(message = "值不能为空")
    private String message;
    @NotNull(message = "值不能为空")
    @ValidId(message = ValidErrorMessage.COURSE_ID_VALID_FAIL, ifCourseId = true)
    private Integer courseId;
    @NotNull(message = "值不能为空")
    private String issueQuestion;
}
